package sg.edu.nus.iss.billing.model.transaction;

import java.util.Date;

import sg.edu.nus.iss.billing.model.BaseModel;

/**
 * @author Ananda, Saravana, BeeHong
 *
 */
public class ServiceTransaction extends BaseModel {

	private static final long serialVersionUID = 1L;
	private String accountNo;
	private ServiceTransactionType serviceType;
	private String numberCalled;
	private String callTs;
	private double durationOfCall;
	private String voiceType;				
	private Date transactionDate;

	public ServiceTransaction(){}
	
	public ServiceTransaction(String accountNo, ServiceTransactionType serviceType, double durationOfCall,
			Date transactionDate) {
		this.accountNo = accountNo;
		this.serviceType = serviceType;
		this.durationOfCall = durationOfCall;
		this.transactionDate = transactionDate;
	}
	
	public String getNumberCalled() {
		return numberCalled;
	}

	public void setNumberCalled(String numberCalled) {
		this.numberCalled = numberCalled;
	}

	public String getCallTs() {
		return callTs;
	}

	public void setCallTs(String callTs) {
		this.callTs = callTs;
	}

	public double getDurationOfCall() {
		return durationOfCall;
	}

	public void setDurationOfCall(double durationOfCall) {
		this.durationOfCall = durationOfCall;
	}

	public String getVoiceType() {
		return voiceType;
	}

	public void setVoiceType(String voiceType) {
		this.voiceType = voiceType;
	}

	public Date getTransactionDate() {
		return transactionDate;
	}

	public void setTransactionDate(Date transactionDate) {
		this.transactionDate = transactionDate;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public ServiceTransactionType getServiceType() {
		return serviceType;
	}

	public void setServiceType(ServiceTransactionType serviceType) {
		this.serviceType = serviceType;
	}
}